package com.p2p.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.common.DTO.ExperienceRecordDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExperienceRecordMapper {

    List<ExperienceRecordDTO> experienceRecordList(@Param("page") Page<ExperienceRecordDTO> page);

    List<ExperienceRecordDTO> search(@Param("page") Page<ExperienceRecordDTO> page,
                                     @Param("investorsName") String investorsName,
                                     @Param("phoneNum") String phoneNum,
                                     @Param("userSource") String userSource,
                                     @Param("status") Byte status
    );
}
